﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddKnowledge.aspx.cs" Inherits="Touch2Like.Web.Admin.Popup.AddKnowledge"
    ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href="/css/main.css" type="text/css" />
    <script type="text/javascript">
	<!--
        //window.UEDITOR_HOME_URL = location.pathname.substr(0, location.pathname.lastIndexOf('/')) + '/';
        window.UEDITOR_HOME_URL = "/ueditor/";
	//-->
    </script>
    <script type="text/javascript" src="/ueditor/editor_config.js"></script>
    <script type="text/javascript" src="/ueditor/editor.js"></script>
    <link rel="stylesheet" href="/ueditor/themes/default/ueditor.css" />
    <script src="/js/jquery.js" type="text/javascript"></script>
    <script src="/js/basic.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="padding: 8px">
        <table>
            <tr>
                <td align="right">
                    Title:
                </td>
                <td>
                    <asp:TextBox ID="tb_Title" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" valign="top">
                    Content:
                </td>
                <td height="250">
                    <asp:TextBox ID="tb_Content" runat="server" Width="450px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    <div style="display: none">
        <asp:Button ID="btn_Submit" runat="server" CssClass="Submit" Text="Save" OnClick="btn_Submit_Click" />
        <input type="button" id="btn_Cancel" class="Submit Cancel" value="Cancel" onclick="parent.hideDialog();" />
    </div>
    </form>
    <script type="text/javascript">
        var ue = new UE.ui.Editor({ minFrameHeight: 200 });
        ue.render('tb_Content');
    </script>
</body>
</html>
